{template "content","header"}
<!--main-->
<div class="banner">
    <div id="owl-demo" class="owl-carousel">
        {pc:get sql="select * from banner"}{/pc}
        {loop $data $b}
            <div class="item">
                <img src="{$b['thumb']}" class="bannerimg" alt="">               
            </div>
        {/loop}
    </div>
</div>
<script>
    $(function(){
        $('#owl-demo').owlCarousel({
            items: 1,
            autoPlay: true,
            itemsDesktop:[1199,1],
            itemsDesktopSmall:[979,1],
            itemsTablet:[768,1],
            itemsMobile:[479,1],
            addClassActive:true
        });


    });
</script>

<div class="xm-box wow fadeInUp">
    <div class="common-width">
        <div class="xm">
            <div class="about-bt">
                <h3 class="d-h3"><a href="?m=content&c=index&a=lists&catid=14" title="产品中心">产品中心</a></h3>
                <div class="d-xian"><img src="{IMG_PATH}line.png" alt=""></div>
                <h4 class="d-h4">Product center</h4>
            </div>
            <div class="xm_tp">
                {pc:get sql="select * from picture where catid=14"}{/pc}
                <div id="owl-xm" class="owl-carousel">
                {loop $data $pros}
                   <div class="item">
                        <div class="con">
                            <a href="javascript:;" title=""><img src="{$pros['thumb']}" alt=""></a>
                            <div class="txt">
                                <h3><a href="?m=content&c=index&a=lists&catid=14" title="">{$pros['title']}</a></h3>
                                <p><a href="?m=content&c=index&a=lists&catid=14" title="more">+</a></p>
                            </div>
                        </div>
                   </div> 
                {/loop}
                </div>
                  <script>
                  $(function(){
                      $('#owl-xm').owlCarousel({
                          items: 3,
                          autoPlay: true,
                          navigation: true,
                      });
                  });
                  </script>
            </div>
        </div>
    </div>
</div>

<div class="cp-box wow fadeInUp">
    <div class="common-width">
        <div class="cp">
            <div class="about-bt">
                <h3 class="d-h3"><a href="?m=content&c=index&a=lists&catid=13" title="专业扶持">专业扶持</a></h3>
                <div class="d-xian"><img src="{IMG_PATH}line.png" alt=""></div>
                <h4 class="d-h4">Professional support</h4>
            </div>
            <div class="cp_tp">
                <ul>
                  {pc:get sql="select * from product where catid=13"}{/pc}
                  {loop $data $list}
                  {php $a = explode(' ', $list['description'])}
                    <li>
                        <a href="{$list['url']}" title="">
                        <div class="serIco"><img src="{$list['thumb']}" alt="{$list['keywords']}"></div>
                        <div class="serIco1"><img src="{IMG_PATH}biao1.png" alt="{$list['keywords']}"></div>
                        <h4 class="serTitle">{$list['keywords']}</h4> 
                        <div class="serIntro">{$a[0]}<br>{$a[1]}</div> 
                        <div class="serLink">查看详情</div>
                        </a> 
                    </li>
                  {/loop}
                </ul>
            </div>
        </div>
    </div>
</div>
{php unset($a)}
<div class="al_box wow fadeInUp">
    <div class="common-width">
        <div class="al">
            <div class="al_bt">
                <h3><a href="?m=content&c=index&a=lists&catid=15" title="">门店展示</a></h3>
                <span><i>20余年</i>专注设计 紧跟消费者审美眼光</span>
                <em>Focus on design for more than 20 years, keep an eye on consumers' aesthetic vision</em>
            </div>
            <div class="al_tp">
                {pc:get sql="select * from picture where catid=15" return="data1"}{/pc}
                    <div id="owl-al" class="owl-carousel">
                        {loop $data1 $case1}
                        <div class="item">
                            <a href="{$case['url']}" title=""><img src="{$case1['thumb']}" alt="" /></a>
                            <a href="{$case['url']}" title=""><p>{$case1['title']}</p></a>
                        </div>
                        {/loop}
                    </div>
                <script>
                    $(function(){
                        $('#owl-al').owlCarousel({
                            items: 4,
                            autoPlay: true,
                            navigation: true,
                            navigationText: ["上一个","下一个"]
                        });
                    });
                </script>

                <div style="clear:both;"></div>
            </div>
        </div>
    </div>
</div>

<div class="about-box wow fadeInUp">
    <div class="common-width">
        <div class="about">
            <div class="about-bt">
                <h3 class="d-h3"><a href="javascript:;" title="公司简介">公司简介</a></h3>
                <div class="d-xian"><img src="{IMG_PATH}line.png" alt=""></div>
                <h4 class="d-h4">about us</h4>
            </div>
            <div class="about-nr">
               一点点奶茶加盟连锁品牌创立于1994年，距今已将近20年的时间。<br>起初仅仅是台湾台南地区路边的饮料茶摊，尚未有专属品牌名称，后因营业状况蒸蒸日上，才转型为店铺是经营。<br>1997年成立第一家模范店。1998年后逐渐开始设立分店，走向连锁加盟式的经营。<br>截至目前为止，全台湾已经有500余家门市。至2011年为止大台北地区已拓展约150家门市，包含直营店30家以及120家奶茶加盟店。
            </div>
            <div class="about-shuzi">
                <ul>
                    <li>
                        <div class="shuzi"><span id="myTargetElement1">1994</span>年</div>
                        <div class="miaoshu">品牌创立于1994年</div>
                    </li>
                    <li>
                        <div class="shuzi"><span id="myTargetElement2">500</span>余家</div>
                        <div class="miaoshu">至今已经有500余家门市</div>
                    </li>
                    <li>
                        <div class="shuzi"><span id="myTargetElement3">1997</span><b>年</b></div>
                        <div class="miaoshu">成立第一家模范店</div>
                    </li>
                </ul>
            </div>
            <div class="clearfix"></div>
            <script type="text/javascript" src="{JS_PATH}countUp.min.js"></script>
            <script type="text/javascript">
                var options = {
                    useEasing : true,
                    useGrouping : true,
                    separator : '',
                    decimal : '',
                    prefix : '',
                    suffix : ''
                };
                var demo1 = new CountUp("myTargetElement1", 0, 1994, 0, 2.5, options);
                var demo2 = new CountUp("myTargetElement2", 0, 500, 0, 2.5, options);
                var demo3 = new CountUp("myTargetElement3", 0, 1997, 0, 2.5, options);
                $(window).scroll(function(){
                    if($(window).scrollTop()>=100){
                        demo1.start();
                        demo2.start();
                        demo3.start();
                    }
                })
            </script>
        </div>
    </div>
</div>

<div class="youshi-box">
    <div class="common-width">
        <div class="youshi">
            <ul>
                <li class="wow fadeInUp" data-wow-delay="0s">
                    <div class="pic_box"><img src="{IMG_PATH}icon_service1.png" alt=""></div>
                    <h1><strong>经验丰富</strong><span>experienced</span></h1>
                </li>
                <li class="wow fadeInUp" data-wow-delay="0.1s">
                    <div class="pic_box"><img src="{IMG_PATH}icon_service2.png" alt=""></div>
                    <h1><strong>专业团队</strong><span>Professional team</span></h1>
                </li>
                <li class="wow fadeInUp" data-wow-delay="0.2s">
                    <div class="pic_box"><img src="{IMG_PATH}icon_service3.png" alt=""></div>
                    <h1><strong>专业技术</strong><span>Efficient construction</span></h1>
                </li>
                <li class="wow fadeInUp" data-wow-delay="0.3s">
                    <div class="pic_box"><img src="{IMG_PATH}icon_service4.png" alt=""></div>
                    <h1><strong>高性价比</strong><span>High cost performance</span></h1>
                </li>
                <li class="wow fadeInUp" data-wow-delay="0.4s">
                    <div class="pic_box"><img src="{IMG_PATH}icon_service5.png" alt=""></div>
                    <h1><strong>贴心售后</strong><span>Intimate after-sales</span></h1>
                </li>
                <div class="clear"></div>
            </ul>
            <div class="clear"></div>
        </div>
    </div>
</div>

<div class="news-box">
    <div class="common-width">
        <div class="news">
            <div class="about-bt">
                <h3 class="d-h3"><a href="?m=content&c=index&a=lists&catid=16" title="新闻动态">新闻动态</a></h3>
                <div class="d-xian"><img src="{IMG_PATH}line.png" alt=""></div>
                <h4 class="d-h4">news center</h4>
            </div>
            <div class="news-nr">
                <div class="news-left wow fadeInLeft">
                    <div id="owl-news" class="owl-carousel">
                        <!--行业新闻-->
                        {pc:get sql="select * from news where catid=18"}{/pc}
                        {loop $data $h}
                            <div class="item">
                                <a href="{$h['url']}" target="_blank">
                                    <div class="tu"><img src="{$h['thumb']}" alt=""></div>
                                    <div class="itemzi">
                                        <h2 class="news-date">{date('Y-m-d',$h['updatetime'])}<span>hot</span></h2>
                                        <h3 class="news-tit">{$h['title']}</h3>
                                        <p class="news-info">{str_cut($h['description'],230)}</p>
                                    </div>
                                </a>
                            </div>
                        {/loop}
                    </div>
                    <script>
                        $(function(){
                            $('#owl-news').owlCarousel({
                                singleItem: true,
                                autoPlay: true
                            });

                        });
                    </script>

                </div>
                <div class="news-right wow fadeInRight">
                    <ul>
                        <!--公司新闻-->
                        {pc:get sql="select * from news where catid=17 order by id desc" num="4"}{/pc}
                        {loop $data $g}
                            <li>
                                <h2 class="news-date">{date('Y-m-d',$h['updatetime'])}<span>hot</span></h2>
                                <h3 class="news-tit"><a href="{$g['url']}" title="">{$g['title']}</a></h3>
                                <p class="news-info">{str_cut($g['description'],230)}</p>                            
                            </li>
                        {/loop}
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
{pc:link  action="type_list" typeid="4" siteid="1" linktype="1" order="listorder DESC" num="8" return="pic_link"}

 {loop $pic_link $v}
《s》

 <li><a href="{$v['url']}" title="{$v['name']}" target="_blank"><img src="{$v[logo]}" width="90" height="30" /></a></li>

 {/loop}
 {/pc}
{template "content","footer"}